package jp.ne.hatena.d.digitalsoul.warikan.contexts

import org.junit._

import jp.ne.hatena.d.digitalsoul.warikan.inject._

import jp.ne.hatena.d.digitalsoul.warikan.mocks._

trait InjectorInitializer {
	
	var initialized:Boolean = false
	
	@Before
	def beforeClass = {
		if (!initialized) {
			Injector.config_=(new WarikanModule4UT)
			initialized = true
		}
	}

}